/*搜索层叠样式*/
*{
    margin:0;
    padding: 0;
}
body{
    margin:0;
    padding: 0;
    padding-bottom: 100px;
}
@media only screen and (max-width:650px) and (min-width:350px){
/*-------------------------------------------------------------主页面*/
.container{
    min-width:350px;
    max-width: 650px;
    padding: 0;
}
/*-----------------------------------------------------------页头*/
header{
    padding:0;
    background:white;
}
.header_n{
    padding:0;
    min-width:350px;
    max-width: 650px;
}
/*-----------------------------页头返回键*/
.header_line{
    min-width:350px;
    max-width: 650px;
    height:40px;
    background:#171278;
}
.main_line{
    width: 100%;
    height:40px;
    background:#171278;
}
.btn_left{
    float:left;
    z-index: 6;
    width:40px;
    height:40px;
    border:none;
    border-radius:0;
    background:#171278;
}
/*----------------------------页头下拉按钮*/
.btn_right{
    float:right;
    z-index: 6;
    width:55px;
    height:40px;
}
.dropdown-toggle{
    padding-right:15px;
    width:100%;
    height:100%;
    border:none;
    border-radius:0;
    background:#171278;
}
.dropdown-menu{
    padding: 0;
    min-width:120px;
    height:120px;
    margin-left:-64px;
    border:none;
    border-radius:0;
}
.dropdown-menu li a{
    width:100%;
    height:39px;
    margin-bottom:1px;
    color:white;
    background:dimgray;
}
.glys{
    margin-left:-10px;
    margin-right:2px;
    line-height: 30px;
}
.glyphicon-option-horizontal,.glyphicon-menu-left{
    margin:8px 0 0 8px;
    color: white;
    font-size: 24px;
}
/*--------------------------------------搜索输入框*/
.header_search{
    min-width:350px;
    max-width: 650px;
    height:60px;
    background:gainsboro;
}
.input-group{
    padding:15px 40px;
    min-width:350px;
    max-width: 650px;
}
.input-group input{
    height:30px;
    border-radius:4px;
    border-color:#171278;
}
.input-group span{
    color: white;
    height:30px;
    border-radius:4px;
    background: #171278;
    border-color: #171278;
}
/*----------------------------------------------------------------网页中间内容*/
/*-------------------------------搜索条件分类*/
.search_down{
    min-width:350px;
    max-width: 650px;
    display: flex;
}
.search_down_li{
    flex: 1;
    text-decoration: none;
    border-right:1px solid gainsboro;
    width:100%;
    height:30px;
    line-height:30px;
    color:black;
    font-size: 0.8em;
    text-align: center;
    background: ghostwhite;
}
.search_down_li:nth-child(1){
    background: white;
}
.search_down_li:nth-child(4) div{
    border-right:none;
}
/*-------------------------------------------默认排序、销量、价格、售后*/
.like_style{
    display: flex;
    min-width: 350px;
    max-width: 650px;
}
.like_style:nth-child(1){
    margin-top:0;
}
.like_style_li{
    float:left;
    flex:1;
    width:50%;
    padding:1px 2px 4px 2px;
}
.like_style_a img{
    width:100%;
}
.like_style_title{
    display: block;
    width:100%;
    height:30px;
    line-height: 30px;
    vertical-align: middle;
    padding:0 8px;
    color:black;
    background: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9em;
}
.font_big{
    float:left;
    width:35%;
    font-size:0.9em;
    color: #bb2627;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.font_small{
    float:right;
    width:30%;
    color:gray;
    font-size: 0.6em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.glybtn {
    float: right;
    width:30px;
    height:30px;
    border: none;
}
.glybtn span{
    color:orangered;
    font-size:24px;
}
/*js分类按钮对应css样式*/
.list_a{
    display:block;
}
.list_b,.list_c,.list_d{
    display:none;
}
/*--------------------------------------------------------------------------------页尾*/
footer{
    display: none;
}
/*-----------------------------------返回顶部按钮*/
.scrtop{
    margin-bottom: 30%;
    margin-left:85%;
    width:45px;
    height:45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    border:1px solid #ccc;
    font-size: 25px;
    color:#777;
    background: white;
}
/*--------------------------------------底部固定：分类、订单、购物车、个人中心*/
.search_down{
    min-width:350px;
    max-width: 650px;
    display: flex;
}
.foot_li{
    flex: 1;
    background: #FFFFFF;
    box-sizing: border-box;
    padding:4px 0;
    border-right: 1px solid #CCCCCC;
    text-align: center;
}
.btnnav{
    display:inline-block;
    width:40px;
    height:40px;
    padding: 4px 2px;
    border:none;
    border-radius:0;
    text-align: center;
}
.foot_li div{
    width:100%;
    height:20px;
    color:#666666;
    text-align: center;
}
.foot_li:last-child{
    border-right:none;
}
.glynav,.btnnav{
    background: white;
    color:gray;
    font-size: 30px;
}
}